<?php get_header(); ?>
	<div id="headerimg">
		<h1><a href="<?php echo get_option('home'); ?>/">@Yuguo</a></h1>
		<p>我选择沉默的主要原因之一是：从话语中，你很少能学到人性，从沉默中却能。假如还想学得更多，那就要继续一声不吭。 </p>
	</div>
</div>
<div id="main">
	<div id="content" class="narrowcolumn">
	<?php if (have_posts()) : ?>
		<?php while (have_posts()) : the_post(); ?>
			<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
				<div class="entry-title ">
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
					</h2>
				</div>
				<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
				
				<div class="entry-summary">
				<?php if(is_category() || is_archive() || is_home() ) 
				{
					the_excerpt();
				} else 
				{
					the_content('Read the rest of this entry &raquo;');
				} ?>
				<a class="read-more" href="<?php the_permalink() ?>">Read More &raquo;</a>
				</div>
				
				<p class="index-postmetadata"><span class="cat"> <?php the_category(', ') ?></span>
				<span class="comment"> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></span>
				</p>
			</div>
		<?php endwhile; ?>
	<?php else : ?>
		<h2 class="center">Not Found</h2>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>
		<?php get_search_form(); ?>
	<?php endif; ?>
	</div>
<?php get_sidebar(); ?>
<div class="clear" ></div>
		<div class="index-navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
		</div>
<div class="clear"></div>
</div>

<?php get_footer(); ?>